<%@ include file="/WEB-INF/jsp/include.jsp" %>
<c:set var="curRecipesGroups" value="${recipesGroups}" scope="page"/>
<c:forEach var="recipeGroup" items="${curRecipesGroups}">
    <li class="closed">
        <span class="folder"><span class="hidden_id"><c:out value="${recipeGroup.id}"/></span><span class="hidden_group_type"><c:out value="${groupType}"/></span><span class="group_name"><c:out value="${recipeGroup.name}"/></span></span>
        <c:if test="${not empty recipeGroup.childs}">
            <ul>
                <c:set var="recipesGroups" value="${recipeGroup.childs}" scope="request"/>
                <c:import url="recipesGroupsBlock.jsp"/>
            </ul>
        </c:if>
    </li>
</c:forEach>